import { Component, Input } from '@angular/core';
import { FormDefaultComponent } from './FormDefault.component';

@Component({
    selector: 'app-form-input-text',
    templateUrl: './FormInputText.component.html',
})
export class FormInputTextComponent extends FormDefaultComponent {
    @Input() countdown = false;
    @Input() pattern;

    constructor() {
        super();
        this.configuration.maxlength = this.configuration.maxlength || 50;
    }
}
